/* Ant Design Card 组件主题样式 */

.ant-card {
    background: var(--theme-card-background) !important;
    border: 1px solid var(--theme-card-border) !important;
    box-shadow: var(--theme-card-shadow) !important;
    transition: all 0.3s ease !important;
}

.ant-card-head {
    padding: 0px 12px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    background: var(--theme-card-background) !important;
    border-bottom: 1px solid var(--theme-card-border) !important;
}

.ant-card-head-title {
    color: var(--theme-card-title-color) !important;
}

.ant-card-body {
    padding: 0 !important;
    color: var(--theme-card-text-color) !important;
}

.ant-card-meta-title {
    color: var(--theme-card-title-color) !important;
}

.ant-card-meta-description {
    color: var(--theme-card-text-color) !important;
}

/* 悬停效果 */
.ant-card:hover {
    box-shadow:
        0 2px 8px 0 rgba(0, 0, 0, 0.09),
        0 2px 12px 0 rgba(0, 0, 0, 0.05) !important;
}

[data-theme='dark'] .ant-card:hover {
    box-shadow:
        0 2px 8px 0 rgba(0, 0, 0, 0.4),
        0 2px 12px 0 rgba(0, 0, 0, 0.3) !important;
}
